export function dataNitk(datalist, ing) {
  datalist.forEach((item) => {
    if (!item.commodityImg.includes("http")) {
      item.commodityImg = ing + item.commodityImg;
      item.sellerImg = ing + item.sellerImg;
    }
  });
  return datalist;
}

export function dataNitkTow(datalist, ing) {
  datalist.forEach((item) => {
    if (!item.userImage.includes("http")) {
      item.userImage = ing + item.userImage;
      item.avatarImag = ing + item.avatarImag;
    }
  });
  return datalist;
}

export function dataNitkThree(datalist, ing) {
  datalist.forEach((i) => {
    if (!i.commodityPic.includes("http")) {
      i.commodityPic = ing + i.commodityPic;
      i.sellerPic = ing + i.sellerPic;
      i.userImage = ing + i.userImage;
    }
  });
  return datalist;
}
